home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 002a / vc50_jan.zip / VC5.BAT < prev    next >
DOS Batch File  |  1993-01-24  |  2KB  |  59 lines

  1. echo off
  2. cls
  3. REM   RUNVC.BAT - Quick Check for active viruses.
  4. echo  
  5. echo Victor Charlie - (c) Copyright 1990 Bangkok Security Associates
  6. echo                   All rights reserved.
  7. echo     We will run the virus detection programs twice each.
  8. echo     This provides a FULL anti-virus check in only seconds.
  9. echo     Making first check now . . . 
  10. echo  
  11. echo Victor Charlie now running a check for active viruses.
  12. echo  
  13. vc2
  14. if errorlevel 100 goto VIRUS
  15. vc1
  16. if errorlevel 5 goto VIRUS
  17. if errorlevel 1 goto BAD
  18.  
  19. cls
  20. : NEW SCREEN
  21. echo  
  22. echo Victor Charlie now double-checking for active viruses.
  23. echo  
  24. vc2
  25. :if errorlevel 1 goto VIRUS
  26. vc1
  27. if errorlevel 5 goto VIRUS
  28. if errorlevel 1 goto BAD
  29.  
  30. cls
  31. : NEW SCREEN
  32. echo  
  33. echo                      ╔════════════════════════════════╗
  34. echo                      ║ OK!  No active virus detected. ║
  35. echo                      ╚════════════════════════════════╝
  36. echo            Please run this program before you shut down every day.
  37. echo  
  38. goto END
  39.  
  40. :BAD
  41. echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  42. echo               SOMETHING WRONG!  Please see error message above!
  43. goto END
  44.  
  45. :VIRUS
  46. cls
  47. : NEW SCREEN
  48. echo  
  49. echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  50. echo Victor Charlie offered to reboot your computer to suspend virus activity,
  51. echo and you did not do so.  Unless you are doing something very special, 
  52. echo Victor Charlie believes you still have an active virus in your machine.
  53. echo  
  54. echo Please reboot now.  This should be a COLD BOOT:
  55. echo  
  56. echo Turn off your machine, wait 10 seconds, turn your machine back on again.
  57. echo  
  58.  
  59. :END